export default {
  namespaced: true,
  state: () => ({
    activedCategory: null,
    selfLibs: [],
  }),
  getters: {
    activedCategory: state => state.activedCategory,
    selfLibs: state => state.selfLibs,
  },
  actions: {},
  mutations: {
    setActivedCategory(state, info) {
      state.activedCategory = info
    },
    setSelfLibs(state, info) {
      state.selfLibs = info || []
    },
  },
}
